package cn.itsource.org.mapper;

import cn.itsource.org.domain.Shop;
import cn.itsource.basic.base.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhi
 * @since 2022-07-05
 */
public interface ShopMapper extends BaseMapper<Shop> {

    Shop queryByName(String name);

    List<Long> statistics();

    void importExcel(@Param("shops")List<Shop> shops);
}
